package cupk.wudi.mapper;

import cupk.wudi.pojo.Animal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AnimalMapper {

    int addAnimal(Animal animal);
    //int deleteAnimal(Integer id);
    int deleteByName(String name);
    Animal getByName(String name);
    List<Animal> selectAll();

}
